﻿namespace Dora.Tools.Utility.Const
{

    /// <summary>
    /// 全局通用RedisKey
    /// </summary>
    public class DoraRedisKey
    {
        /// <summary>
        /// 全局Bucket RedisKey
        /// </summary>
        public const string BucketRedisKey = "bucketrediskey";
        /// <summary>
        /// 区域详情redis key前缀
        /// place_info_{id}
        /// </summary>
        public const string PlaceInfoPre = "place_info_";
        /// <summary>
        /// 区域下级节点前缀
        /// Place_Children_{id}
        /// </summary>
        public const string PlaceChildrenPre = "place_children_";
        /// <summary>
        /// 标签:tag_{SystemKey} 代表查询系统的标签组
        /// 标签:tag_{SystemKey}_{GroupId} 代表查询标签组的所有标签
        /// 标签:tag_{SystemKey}_{GroupId}_{id} 代表查询标签组的所有标签
        /// </summary>
        public const string TagPre = "tag_";

        /// <summary>
        /// 业务区域:area_{合作范围Id}
        /// </summary>
        public const string AreaPre = "area_";
        /// <summary>
        /// 业务范围:bizscope_{合作范围Id}
        /// </summary>
        public const string BizScopePre = "bizscope_";
        /// <summary>
        /// 合作范围
        /// </summary>
        public const string CoopScopeList = "coopscopelist";
        /// <summary>
        /// authkey_{token}
        /// </summary>
        public const string AuthKeyPre = "authkey_";
        /// <summary>
        /// userinfo_{mobile},userinfo_{token}
        /// </summary>
        public const string UserInfoPre = "userinfo_";
        /// <summary>
        /// web_{mobile},Web_{token}
        /// </summary>
        public const string WebPre = "web_";
        /// <summary>
        /// sysmenu_{SystemId}_{EmployeeId}
        /// </summary>
        public const string SysMenuPre = "sysmenu_";
        /// <summary>
        /// 产品类型集合
        /// </summary>
        public const string ProductType = "producttype";

        /// <summary>
        /// 环信TokenRedisKey
        /// </summary>
        public const string EasemobTokenRedisKey = "EasemobTokenRedisKey";
    }
}
